package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.NodeNodeAttr;
import com.flida.echart.basic.system.dao.NodeNodeAttrDao;
import com.flida.echart.basic.system.service.INodeNodeAttrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("nodeNodeAttrService")
public class NodeNodeAttrServiceImpl implements INodeNodeAttrService {
    @Autowired
    private NodeNodeAttrDao nodeNodeAttrDao;


    public int deleteByPrimaryKey(String nodeAttrId, String nodeId) {

        return nodeNodeAttrDao.deleteByPrimaryKey(nodeAttrId, nodeId);
    }


    public int insert(NodeNodeAttr record) {

        return nodeNodeAttrDao.insert(record);
    }


    public int insertSelective(NodeNodeAttr record) {

        return nodeNodeAttrDao.insertSelective(record);
    }

}
